Build.PL | 11 |
Changes | 012 |
LICENSE | 1012 |
META.json | 5262 |
META.yml | 5159 |
README | 11 |
lib/Dist/Zilla/Util/EmulatePhase/PrereqCollector.pm | 1238 |
lib/Dist/Zilla/Util/EmulatePhase.pm | 22 |
8 files changed (This is a version diff) | 129187 |
@@ -23,7 +23,7 @@ my %module_build_args = (
'Kent Fredric <kentnl@cpan.org>'
],
'dist_name' => 'Dist-Zilla-Util-EmulatePhase',
- 'dist_version' => '0.01016513',
+ 'dist_version' => '0.01025800',
'license' => 'perl',
'module_name' => 'Dist::Zilla::Util::EmulatePhase',
'recommends' => {},
@@ -1,5 +1,17 @@
Revision history for Dist-Zilla-Util-EmulatePhase
+0.01025800 2011-07-13T02:16:46Z
+ [Features]
+ - The warning diagnostic call that triggers when plugins call
+ '_share_dir_map' from register_plugins has been special-cased with a
+ white-list so that no errors are produced for the MakeMaker plugin and
+ everything else will Carp fatally. Hopefully this doesn't prove a
+ problem for anyone.
+
+ [Packaging]
+ - Updated copyright notice.
+ - METAData updated for GitHub
+
0.01016513 2011-04-13T15:09:11Z
- Maintenance only release.
@@ -18,15 +18,16 @@ This is free software, licensed under:
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@ authors' reputations.
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
+ END OF TERMS AND CONDITIONS
- Appendix: How to Apply These Terms to Your New Programs
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@ the exclusion of warranty; and each file should have at least the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
@@ -4,7 +4,7 @@
"Kent Fredric <kentnl@cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930",
+ "generated_by" : "Dist::Zilla version 4.200008, CPAN::Meta::Converter version 2.110930",
"license" : [
"perl_5"
],
@@ -62,53 +62,53 @@
"provides" : {
"Dist::Zilla::Util::EmulatePhase" : {
"file" : "lib/Dist/Zilla/Util/EmulatePhase.pm",
- "version" : "0.01016513"
+ "version" : "0.01025800"
},
"Dist::Zilla::Util::EmulatePhase::PrereqCollector" : {
"file" : "lib/Dist/Zilla/Util/EmulatePhase/PrereqCollector.pm",
- "version" : "0.01016513"
+ "version" : "0.01025800"
}
},
"release_status" : "stable",
"resources" : {
- "homepage" : "http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase/tree",
+ "homepage" : "http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase",
"repository" : {
"type" : "git",
- "url" : "git://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase.git",
- "web" : "http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase/tree"
+ "url" : "http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase",
+ "web" : "http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase"
}
},
- "version" : "0.01016513",
+ "version" : "0.01025800",
"x_BuiltWith" : {
"modules" : {
- "Carp" : "1.17",
- "Dist::Zilla::PluginBundle::Author::KENTNL" : "1.0.6",
- "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "NA(possibly not installed)",
- "Dist::Zilla::Prereqs" : "4.200004",
+ "Carp" : "1.20",
+ "Dist::Zilla::PluginBundle::Author::KENTNL" : "1.0.9",
+ "Dist::Zilla::PluginBundle::Author::KENTNL::Lite" : "1.0.6",
+ "Dist::Zilla::Prereqs" : "4.200008",
"Dist::Zilla::Util::Test::KENTNL" : "0.01015821",
"File::Temp" : "0.22",
"Hash::Merge::Simple" : "0.051",
"Module::Build" : "0.38",
- "Moose" : "2",
+ "Moose" : "2.001",
"Moose::Autobox" : "0.11",
"Scalar::Util" : "1.23",
"Sub::Exporter" : "0.982",
- "Test::Fatal" : "0.003",
+ "Test::Fatal" : "0.006",
"Test::More" : "0.98",
"Try::Tiny" : "0.09",
"namespace::autoclean" : "0.12"
},
"perl" : {
- "original" : "v5.12.3",
+ "original" : "v5.14.1",
"qv" : 1,
"version" : [
5,
- 12,
- 3
+ 14,
+ 1
]
},
"platform" : "linux",
- "uname" : "Linux 2.6.38-gentoo x86_64 GenuineIntel GNU/Linux"
+ "uname" : "Linux 2.6.39-gentoo x86_64 GenuineIntel GNU/Linux"
},
"x_Dist_Zilla" : {
"plugins" : [
@@ -136,32 +136,32 @@
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@Author::KENTNL/GatherDir",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::KENTNL/MetaConfig",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Author::KENTNL/PruneCruft",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@Author::KENTNL/GithubMeta",
- "version" : "0.10"
+ "version" : "0.12"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::KENTNL/License",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Author::KENTNL/PkgVersion",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -176,17 +176,17 @@
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::KENTNL/MetaJSON",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::KENTNL/MetaYAML",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
"name" : "@Author::KENTNL/ModuleBuild",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeFromPod",
@@ -196,17 +196,17 @@
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Author::KENTNL/ManifestSkip",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::KENTNL/Manifest",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::KENTNL/AutoPrereqs",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -217,7 +217,7 @@
}
},
"name" : "@Author::KENTNL/Prereqs/BundleDevelNeeds",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -228,7 +228,7 @@
}
},
"name" : "@Author::KENTNL/Prereqs/BundleDevelRecommends",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -239,7 +239,7 @@
}
},
"name" : "@Author::KENTNL/Prereqs/BundleDevelSuggests",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::MetaData::BuiltWith",
@@ -265,7 +265,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
"name" : "@Author::KENTNL/Test::CPAN::Changes",
- "version" : "0.003"
+ "version" : "0.005"
},
{
"class" : "Dist::Zilla::Plugin::CompileTests",
@@ -275,22 +275,22 @@
{
"class" : "Dist::Zilla::Plugin::CriticTests",
"name" : "@Author::KENTNL/CriticTests",
- "version" : "1.102280"
+ "version" : "1.111450"
},
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@Author::KENTNL/MetaTests",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Author::KENTNL/PodCoverageTests",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::KENTNL/PodSyntaxTests",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
@@ -310,52 +310,52 @@
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@Author::KENTNL/ExtraTests",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::KENTNL/TestRelease",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::KENTNL/ConfirmRelease",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@Author::KENTNL/Git::Check",
- "version" : "1.110500"
+ "version" : "1.111590"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::KENTNL/NextRelease",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@Author::KENTNL/Git::Tag/tag_master",
- "version" : "1.110500"
+ "version" : "1.111590"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@Author::KENTNL/Git::Commit",
- "version" : "1.110500"
+ "version" : "1.111590"
},
{
"class" : "Dist::Zilla::Plugin::Git::CommitBuild",
"name" : "@Author::KENTNL/Git::CommitBuild",
- "version" : "1.110500"
+ "version" : "1.111590"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@Author::KENTNL/Git::Tag/tag_release",
- "version" : "1.110500"
+ "version" : "1.111590"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::KENTNL/UploadToCPAN",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::Twitter",
@@ -365,22 +365,32 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200004"
+ "version" : "4.200008"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200004"
+ "version" : "4.200008"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200004"
+ "version" : "4.200008"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
+ "version" : "4.200008"
}
],
"zilla" : {
@@ -388,7 +398,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200004"
+ "version" : "4.200008"
}
}
}
@@ -13,7 +13,7 @@ build_requires:
configure_requires:
Module::Build: 0.3601
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200004, CPAN::Meta::Converter version 2.110930'
+generated_by: 'Dist::Zilla version 4.200008, CPAN::Meta::Converter version 2.110930'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,10 +22,10 @@ name: Dist-Zilla-Util-EmulatePhase
provides:
Dist::Zilla::Util::EmulatePhase:
file: lib/Dist/Zilla/Util/EmulatePhase.pm
- version: 0.01016513
+ version: 0.01025800
Dist::Zilla::Util::EmulatePhase::PrereqCollector:
file: lib/Dist/Zilla/Util/EmulatePhase/PrereqCollector.pm
- version: 0.01016513
+ version: 0.01025800
requires:
Carp: 0
Dist::Zilla::Prereqs: 0
@@ -37,36 +37,36 @@ requires:
Try::Tiny: 0
namespace::autoclean: 0
resources:
- homepage: http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase/tree
- repository: git://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase.git
-version: 0.01016513
+ homepage: http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase
+ repository: http://github.com/kentfredric/Dist-Zilla-Util-EmulatePhase
+version: 0.01025800
x_BuiltWith:
modules:
- Carp: 1.17
- Dist::Zilla::PluginBundle::Author::KENTNL: 1.0.6
- Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 'NA(possibly not installed)'
- Dist::Zilla::Prereqs: 4.200004
+ Carp: 1.20
+ Dist::Zilla::PluginBundle::Author::KENTNL: 1.0.9
+ Dist::Zilla::PluginBundle::Author::KENTNL::Lite: 1.0.6
+ Dist::Zilla::Prereqs: 4.200008
Dist::Zilla::Util::Test::KENTNL: 0.01015821
File::Temp: 0.22
Hash::Merge::Simple: 0.051
Module::Build: 0.38
- Moose: 2
+ Moose: 2.001
Moose::Autobox: 0.11
Scalar::Util: 1.23
Sub::Exporter: 0.982
- Test::Fatal: 0.003
+ Test::Fatal: 0.006
Test::More: 0.98
Try::Tiny: 0.09
namespace::autoclean: 0.12
perl:
- original: v5.12.3
+ original: v5.14.1
qv: 1
version:
- 5
- - 12
- - 3
+ - 14
+ - 1
platform: linux
- uname: 'Linux 2.6.38-gentoo x86_64 GenuineIntel GNU/Linux'
+ uname: 'Linux 2.6.39-gentoo x86_64 GenuineIntel GNU/Linux'
x_Dist_Zilla:
plugins:
-
@@ -89,27 +89,27 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::GatherDir
name: '@Author::KENTNL/GatherDir'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::KENTNL/MetaConfig'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Author::KENTNL/PruneCruft'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::KENTNL/GithubMeta'
- version: 0.10
+ version: 0.12
-
class: Dist::Zilla::Plugin::License
name: '@Author::KENTNL/License'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Author::KENTNL/PkgVersion'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@Author::KENTNL/PodWeaver'
@@ -121,15 +121,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::KENTNL/MetaJSON'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::KENTNL/MetaYAML'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::ModuleBuild
name: '@Author::KENTNL/ModuleBuild'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::ReadmeFromPod
name: '@Author::KENTNL/ReadmeFromPod'
@@ -137,15 +137,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Author::KENTNL/ManifestSkip'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::KENTNL/Manifest'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::KENTNL/AutoPrereqs'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -153,7 +153,7 @@ x_Dist_Zilla:
phase: develop
type: requires
name: '@Author::KENTNL/Prereqs/BundleDevelNeeds'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -161,7 +161,7 @@ x_Dist_Zilla:
phase: develop
type: recommends
name: '@Author::KENTNL/Prereqs/BundleDevelRecommends'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -169,7 +169,7 @@ x_Dist_Zilla:
phase: develop
type: suggests
name: '@Author::KENTNL/Prereqs/BundleDevelSuggests'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::MetaData::BuiltWith
config:
@@ -189,7 +189,7 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::KENTNL/Test::CPAN::Changes'
- version: 0.003
+ version: 0.005
-
class: Dist::Zilla::Plugin::CompileTests
name: '@Author::KENTNL/CompileTests'
@@ -197,19 +197,19 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::CriticTests
name: '@Author::KENTNL/CriticTests'
- version: 1.102280
+ version: 1.111450
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::KENTNL/MetaTests'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Author::KENTNL/PodCoverageTests'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::KENTNL/PodSyntaxTests'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@Author::KENTNL/ReportVersions::Tiny'
@@ -225,43 +225,43 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@Author::KENTNL/ExtraTests'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::KENTNL/TestRelease'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::KENTNL/ConfirmRelease'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Git::Check
name: '@Author::KENTNL/Git::Check'
- version: 1.110500
+ version: 1.111590
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::KENTNL/NextRelease'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@Author::KENTNL/Git::Tag/tag_master'
- version: 1.110500
+ version: 1.111590
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@Author::KENTNL/Git::Commit'
- version: 1.110500
+ version: 1.111590
-
class: Dist::Zilla::Plugin::Git::CommitBuild
name: '@Author::KENTNL/Git::CommitBuild'
- version: 1.110500
+ version: 1.111590
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@Author::KENTNL/Git::Tag/tag_release'
- version: 1.110500
+ version: 1.111590
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::KENTNL/UploadToCPAN'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::Twitter
name: '@Author::KENTNL/Twitter'
@@ -269,21 +269,29 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200004
+ version: 4.200008
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
+ version: 4.200008
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200004
+ version: 4.200008
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200004
+ version: 4.200008
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
+ version: 4.200008
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200004
+ version: 4.200008
@@ -3,7 +3,7 @@ NAME
"Dist::Zilla"'s internal state.
VERSION
- version 0.01016513
+ version 0.01025800
METHODS
deduplicate
@@ -3,8 +3,9 @@ use warnings;
package Dist::Zilla::Util::EmulatePhase::PrereqCollector;
BEGIN {
- $Dist::Zilla::Util::EmulatePhase::PrereqCollector::VERSION = '0.01016513';
+ $Dist::Zilla::Util::EmulatePhase::PrereqCollector::VERSION = '0.01025800';
}
+
#ABSTRACT: A dummy Dist::Zilla to fake a 'prereq' object on.
use Moose;
@@ -12,30 +13,55 @@ use namespace::autoclean;
use Dist::Zilla::Prereqs;
has shadow_zilla => (
- is => 'ro',
- isa => 'Ref',
+ is => 'ro',
+ isa => 'Ref',
required => 1,
);
has prereqs => (
- is => 'ro',
- isa => 'Dist::Zilla::Prereqs',
+ is => 'ro',
+ isa => 'Dist::Zilla::Prereqs',
init_arg => undef,
- default => sub { Dist::Zilla::Prereqs->new },
- handles => [ qw( register_prereqs )],
+ default => sub { Dist::Zilla::Prereqs->new },
+ handles => [qw( register_prereqs )],
);
## no critic ( Subroutines::RequireArgUnpacking )
+
+
sub find_files {
- return shift->shadow_zilla->find_files( @_ );
+ return shift->shadow_zilla->find_files(@_);
}
## no critic ( Subroutines::RequireArgUnpacking, Subroutines::ProhibitUnusedPrivateSubroutines, Subroutines::ProtectPrivateSubs )
+
+
+my $white_list = [ [ 'Dist::Zilla::Plugin::MakeMaker', 'Dist::Zilla::Plugin::MakeMaker::register_prereqs' ] ];
+
+sub _is_white_listed {
+ my ( $self, $package, $subroutine ) = @_;
+ for my $list_rule ( @{$white_list} ) {
+ next unless $package->isa( $list_rule->[0] );
+ next unless $subroutine eq $list_rule->[1];
+ return 1;
+ }
+ return;
+}
+
sub _share_dir_map {
- my $self = shift;
+ my $self = shift;
+ my $package = [ caller 0 ]->[0];
+ ## no critic (ProhibitMagicNumbers)
+ my $subroutine = [ caller 1 ]->[3];
+
+ if ( $self->_is_white_listed( $package, $subroutine ) ) {
+ return $self->shadow_zilla->_share_dir_map(@_);
+ }
+
require Carp;
- Carp::carp('[Dist::Zilla::Util::EmulatePhase] Call to self->zilla->_share_dir_map should be avoided');
- return $self->shadow_zilla->_share_dir_map( @_ );
+ Carp::croak( "[Dist::Zilla::Util::EmulatePhase] Call to self->zilla->_share_dir_map should be avoided\n"
+ . " ... and your package/sub ( $package :: $subroutine ) is not listed in the WhiteList\n"
+ . " ... Please try eliminate this call to a private method or request it being whitelisted\n" );
}
no Moose;
@@ -51,7 +77,7 @@ Dist::Zilla::Util::EmulatePhase::PrereqCollector - A dummy Dist::Zilla to fake a
=head1 VERSION
-version 0.01016513
+version 0.01025800
=head1 METHODS
@@ -2,7 +2,7 @@ use strict;
use warnings;
package Dist::Zilla::Util::EmulatePhase;
BEGIN {
- $Dist::Zilla::Util::EmulatePhase::VERSION = '0.01016513';
+ $Dist::Zilla::Util::EmulatePhase::VERSION = '0.01025800';
}
#ABSTRACT: Nasty tools for probing L<< C<Dist::Zilla>'s|Dist::Zilla >> internal state.
@@ -145,7 +145,7 @@ Dist::Zilla::Util::EmulatePhase - Nasty tools for probing L<< C<Dist::Zilla>'s|D
=head1 VERSION
-version 0.01016513
+version 0.01025800
=head1 METHODS